package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 分润明细对象 biz_share_detail
 *
 * @author luo
 * @date 2021-03-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_share_detail")
public class BizShareDetail implements Serializable {

    private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id")
    private Long id;

    /** 商户 */
    @Excel(name = "商户")
    private Long merchId;

    /** 单号 */
    @Excel(name = "单号")
    private String orderId;

    /** 商户姓名 */
    @Excel(name = "商户姓名")
    private String merchName;

    /** 创建时间 */
    private String createTime;

    /** 0代表未审核 1审核失败 2审核成功 */
    @Excel(name = "0代表未审核 1审核失败 2审核成功")
    private Long checkStatus;

    /** 单号备注 */
    @Excel(name = "单号备注")
    private String orderRemark;

    /** 交易分润 */
    @Excel(name = "交易分润")
    private BigDecimal dealShare;

    /** 管理津贴 */
    @Excel(name = "管理津贴")
    private BigDecimal manaAllow;

    /** 钻石奖励 */
    @Excel(name = "钻石奖励")
    private BigDecimal diamondBonus;

    /** 皇冠奖 */
    @Excel(name = "皇冠奖")
    private BigDecimal crownAward;

    /** 分红奖励 */
    @Excel(name = "分红奖励")
    private BigDecimal userBonusers;

    /** 自身交易笔数 */
    @Excel(name = "自身交易笔数")
    private Long ownDealNum;

    /** 自身交易金额 */
    @Excel(name = "自身交易金额")
    private BigDecimal ownDealSum;

    /** 自身闪付交易额 */
    @Excel(name = "自身闪付交易额")
    private BigDecimal ownQuickPass;

    /** 自身刷卡金额 */
    @Excel(name = "自身刷卡金额")
    private BigDecimal ownSlotCard;

    /** 自身扫一扫金额 */
    @Excel(name = "自身扫一扫金额")
    private BigDecimal ownScanPay;

    /** 下级整体交易笔数 */
    @Excel(name = "下级整体交易笔数")
    private Long downAllDealNum;

    /** 下级整体交易量 */
    @Excel(name = "下级整体交易量")
    private BigDecimal downAllDealSum;

    /** 下级整体闪付交易量 */
    @Excel(name = "下级整体闪付交易量")
    private BigDecimal downAllQuickPass;

    /** 下级整体刷卡交易量 */
    @Excel(name = "下级整体刷卡交易量")
    private BigDecimal downAllSlotCard;

    /** 下级整体扫码交易量 */
    @Excel(name = "下级整体扫码交易量")
    private BigDecimal downAllScanPay;

    /** 交易分润比例 */
    @Excel(name = "交易分润比例")
    private BigDecimal dealShareRatio;

    /** 皇冠比例 */
    @Excel(name = "皇冠比例")
    private BigDecimal crownRatio;

    /** 四项总计 */
    @Excel(name = "四项总计")
    private BigDecimal fourAggregate;

    /** 四项税后 */
    @Excel(name = "四项税后")
    private BigDecimal fourAfterTax;

    /** 他的父级名字 */
    @Excel(name = "他的父级名字")
    private String parentName;

    /** 层级 */
    @Excel(name = "层级")
    private int hierarchy;

    /** 分润补贴 */
    @Excel(name = "分润补贴")
    private BigDecimal shareSubsidy;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    /** 自身刷卡储蓄卡交易 */
    @Excel(name = "自身刷卡储蓄卡交易")
    private BigDecimal ownDepositCard;

    /** 自身刷卡信用卡交易 */
    @Excel(name = "自身刷卡信用卡交易")
    private BigDecimal ownCreditCard;

    /** 下级整体交易储蓄卡 */
    @Excel(name = "下级整体交易储蓄卡")
    private BigDecimal downAllDepositCard;

    /** 下级整体交易信用卡 */
    @Excel(name = "下级整体交易信用卡")
    private BigDecimal downAllCreditCard;

    /** 最终分润 */
    @Excel(name = "下级整体交易信用卡")
    private BigDecimal finalDealProfit;

    /** 最终皇冠 */
    @Excel(name = "下级整体交易信用卡")
    private BigDecimal finalCrownProfit;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
